package com.zhou.cloud.service;

import com.zhou.cloud.config.properties.ZhouProperties;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @descrition:
 * @author: zhouyongjun
 * @date: 2022/10/8
 **/
public class ZhouServiceImpl implements IZhouService{
    @Autowired
    ZhouProperties properties;
    @Override
    public String test() {
        return properties.getName() +"今年" + properties.getAge() + "岁，他喜欢玩" + properties.getPlay();
    }
}
